
all: admin client server
	@echo ":: Build finished"

server:
	gcc -pthread -std=gnu99 src/vec.c src/aux.c src/server/server.c -o bin/server -lrt

client:
	gcc -pthread -std=gnu99 src/vec.c src/aux.c src/client/client.c -o bin/client -lrt

admin:
	gcc -pthread -std=gnu99 src/vec.c src/aux.c src/admin/admin.c -o bin/admin -lrt
	
vec:
	gcc -std=gnu99 vec.c -o vec

clean:
	rm -f bin/server bin/client bin/admin
